Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit def5c2be56536b4ba833eb79a799b8004a44578e


Parents : 56d219d
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-03-06T01:27:25-06:00

Fix indentation in sync_version.js for error handling of missing version field

Changes

1 files changed, 2 insertions(+), 2 deletions(-)


Diff

diff --git a/scripts/sync_version.js b/scripts/sync_version.js
index ce03cae6..0bde1493 100644
--- a/scripts/sync_version.js
+++ b/scripts/sync_version.js
@@ -15,8 +15,8 @@ const versionPyPath = path.join(root, "meshchatx", "src", "version.py");
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf8"));
const version = pkg.version;
if (!version || typeof version !== "string") {
- console.error("package.json has no valid 'version' field");
- process.exit(1);
+ console.error("package.json has no valid 'version' field");
+ process.exit(1);
}
const content = `"""Version string synced from package.json. Do not edit by hand.


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────